package com.ximu.test.base;

import java.util.Observable;

public class Subject extends Observable {


	public static void main(String[] args){
	
		Subject subject = new Subject();
		TestObserver observer = new TestObserver();
		subject.addObserver(observer);
		subject.setChanged();
		subject.notifyObservers("test");
	}
}
